package com.qf.spring2202.springmybaties.dao;

import com.qf.spring2202.springmybaties.entity.User;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;
@Repository
public class UserDaoImpl implements UserDao{
    @Override
    public User getUserByIdAndPassword(Integer id, String password) {
        return null;
    }

    @Override
    public User getUserById(Integer id) {
        User user = new User();
        user.setId(id);
        user.setName("xiaoming");
        return user;
    }

    @Override
    public User getUserByIdAndPassword_map(Map values) {
        return null;
    }

    @Override
    public User selectUserByUserInfo(User user) {
        return null;
    }

    @Override
    public List<User> selectUsersByUserName(User user) {
        return null;
    }

    @Override
    public Integer deleteUserById(Integer id) {
        return null;
    }

    @Override
    public Integer updateUser(User user) {
        return null;
    }

    @Override
    public Integer insertUser(User user) {
        return null;
    }
}
